﻿using AutoTask.Model.DB;
using SqlSugarHelper;

namespace AutoTask.DAL.Repository
{
    internal class AutoTaskLogDAL : IAutoTaskLogDAL
    {
        private IRepository<AutoTaskLogModel> _BasicDAL;
        public AutoTaskLogDAL(IRepository<AutoTaskLogModel> dal)
        {
            _BasicDAL = dal;
        }
        public void Adds(AutoTaskLogModel[] logs)
        {
            this._BasicDAL.Insert(logs);
        }
    }
}
